AC_INIT(ereseva, 0.5.1)

VERSION=0.5.1
ASM_VERSION="$VERSION.*"

AM_INIT_AUTOMAKE(ereseva, $VERSION)
AC_SUBST(ASM_VERSION)

AM_INIT_AUTOMAKE($PACKAGE, $VERSION)

AM_CONFIG_HEADER(config.h)

dnl AM_MAINTAINER_MODE provides the option to enable maintainer mode
AM_MAINTAINER_MODE
dnl make aclocal work in maintainer mode
AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")

AC_PROG_LIBTOOL

IT_PROG_INTLTOOL

AM_PATH_PYTHON(2.5)
AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])

GETTEXT_PACKAGE=ereseva
AC_SUBST(GETTEXT_PACKAGE)

ALL_LINGUAS="da_DK fr_FR pt_BR"
AM_GLIB_GNU_GETTEXT

dnl Now check required packages

AC_OUTPUT([
setup.py
Makefile
ereseva/Makefile
ereseva/ereseva.py
ereseva/ereseva
common/Makefile
m4/Makefile
data/Makefile
data/emotes/Makefile
data/avatars/Makefile
data/icons/Makefile
data/sounds/Makefile
data/profiles/Makefile
po/Makefile.in
po/Makefile
])
